package com.textbasedgame.choices;

import java.io.IOException;

import com.textbasedgame.people.Player;

public class Choice114 extends Choice{

	public Choice114(Player player) {
		this.player = player;
}

	public void start() {
		
		System.out.println("The priest steps towards you and tells you this story.");
		System.out.println("Long ago the minions of the God Death, in the City");
		System.out.println("Of the Runes of Doom, fashioned a Talisman that would");
		System.out.println("Allow them, if the time was right, to summon their God");
		System.out.println("To the surface of this world. That time is now come. ");
		System.out.println("If Death is summoned all life will cease. Only Death's");
		System.out.println("Minions will continue to exist in an awful half-life.");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		System.out.println("His presence will spread like a grey shadow across the world");
		System.out.println("Of Orb. Everything will turn to dust and the balance of nature");
		System.out.println("Will be disrupted for ever. The loremasters of Serakub, a group");
		System.out.println("Of holy people, have striven to prevent this. They sent a group");
		System.out.println("Of crusaders, of which we four are alone survive, on a quest");
		System.out.println("to steal the Talisman.");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		System.out.println("The Fleshless King of the minions of Death had sent the Talisman");
		System.out.println("To the depths of the Rift for safe-keeping. We have entered this");
		System.out.println("Pit of evil and seized it.");
		System.out.println("He pulls a necklace out from under his surcoat. On it hangs a disc");
		System.out.println("of obsidian, in the middle of which is a skull carved in ruby");
		System.out.println("- the Talisman of Death! He hands it to you.");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		System.out.println("Here. For the sake of all Orb you must take this Talisman and");
		System.out.println("Continue the quest. It cannot be destroyed, but if you can take it");
		System.out.println("To your world, it will be beyond the reach of the claw of the Fleshless");
		System.out.println("King. The hypnotic spell binds you - your whole being is given over ");
		System.out.println("To the completing of the quest. The Talisman feels cold and");
		System.out.println("Heavy around your neck. The Wizard turns to you and says,");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		System.out.println("I am going to use the powers of magic to transport you to the surface.");
		System.out.println("Head west until you come to the city of learning, Greyguilds-on-the-Moor,");
		System.out.println("Where you may discover a way to return to your own world. Do not fail us!");
		System.out.println("Here, take this gold, it may be of use. He gives you a purse with 10 gold");
		player.setGold(+10);
		System.out.println("Pieces in it. As the Wizard prepares his spell, a horde of creatures boils");
		System.out.println("into the cavern.");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		Choice125 choice125 = new Choice125(player);
		choice125.start();
	}}